#include <stdio.h>

int main()
{
    int day;
    scanf("%d",&day);
    if(day%5>0&&day%5<=3)
    {
        printf("Fishing in day %d\n",day);
    }
    else
    {
        printf("Drying in day %d\n",day);
    }
    return 0;
}